package com.nzx.common.enums;

/**
 * 功能描述：性别枚举
 *
 * @author nzx
 * @date 2021/11/7 15:10:46
 */
public enum SexEnum {

    WOMAN(0,"女"),

    MAN(1,"男"),

    OTHER(2,"其他");

    private Integer code;

    private String value;

    SexEnum(Integer code,String value){
        this.code = code;
        this.value = value;
    }

    public Integer getCode(){

        return this.code;
    }

    public String value(){

        return this.value;
    }
}
